﻿using System.Data.Entity;
using SDM.ExamPlanner.DTO;

namespace SDM.ExamPlanner.DALC
{
    public class DataContext : DbContext
    {
        public DataContext()
        {}

        public DataContext(string connectionString) : base(connectionString) { }

        public IDbSet<Booking> Bookings { get; set; }
        public IDbSet<Classroom> Classrooms { get; set; }
        public IDbSet<Course> Courses { get; set; }
        public IDbSet<Education> Educations { get; set; }
        public IDbSet<Exam> Exams { get; set; }
        public IDbSet<SchoolClass> SchoolClasses { get; set; }
        public IDbSet<Teacher> Teachers { get; set; }
        public IDbSet<Studyplan> Studyplans { get; set; }
    }
}
